package com.study.model.pojo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the node database table.
 * 
 */
@Entity
@NamedQuery(name="Node.findAll", query="SELECT n FROM Node n")
public class Node implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="node_id")
	private int nodeId;

	@Column(name="node_ation")
	private int nodeAtion;

	@Column(name="node_qualitative")
	private int nodeQualitative;

	@Column(name="node_score")
	private int nodeScore;

	//bi-directional many-to-one association to Customer
	@ManyToOne
	@JoinColumn(name="cus_id")
	private Customer customer;

	public Node() {
	}

	public int getNodeId() {
		return this.nodeId;
	}

	public void setNodeId(int nodeId) {
		this.nodeId = nodeId;
	}

	public int getNodeAtion() {
		return this.nodeAtion;
	}

	public void setNodeAtion(int nodeAtion) {
		this.nodeAtion = nodeAtion;
	}

	public int getNodeQualitative() {
		return this.nodeQualitative;
	}

	public void setNodeQualitative(int nodeQualitative) {
		this.nodeQualitative = nodeQualitative;
	}

	public int getNodeScore() {
		return this.nodeScore;
	}

	public void setNodeScore(int nodeScore) {
		this.nodeScore = nodeScore;
	}

	public Customer getCustomer() {
		return this.customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

}